-
Notifications
You must be signed in to change notification settings - Fork 432
feat: allow setting or unsetting the boto retry configuration #1271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
feat: allow setting or unsetting the boto retry configuration #1271
Conversation
6ac73a6
to
1fb386b
Compare
1fb386b
to
8705eb6
Compare
The good news is this change works locally for me and confirms that botocore is handling the AWS SDK configuration discovery logic, not boto3. I was able to override the setting to be |
8705eb6
to
a741b8d
Compare
a741b8d
to
64b9ee2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's see where we should document this.
I'm going to try and finish adding tests and docs today. If there's a specific place besides the |
64b9ee2
to
5cc0d26
Compare
5cc0d26
to
ecf6987
Compare
This adds the ability to directly set the boto retry configuration dictionary, or to leave it unset and allow botocore to automatically discover the configuration from the environment or `~/.aws/config` files. The default is to use the previous PynamoDB behavior for configuring retries so as to not make this a breaking change.
ecf6987
to
3898f90
Compare
@ikonst I made some updates and added tests and docs. Please re-review. Please note the changes to |
feat: allow setting or unsetting the boto retry configuration
This adds the ability to directly set the boto retry configuration
dictionary, or to leave it unset and allow botocore to automatically
discover the configuration from the environment or
~/.aws/config
files.
The default is to use the previous PynamoDB behavior for configuring
retries so as to not make this a breaking change.
Closes #1268